//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.purvar.boot.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.purvar.boot.comm.api.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@TableName("sys_autocode_main")
@ApiModel(
        value = "SysAutocodeMain",
        description = "实体对象"
)
public class SysAutocodeMain extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("配置主表主键")
    private String id;
    @ApiModelProperty("*表名")
    private String autoTableName;
    @ApiModelProperty("")
    private String autoClassName;
    @ApiModelProperty("")
    private String parentTableName;
    @ApiModelProperty("关联表主键")
    private String parentTableRelationkey;
    @ApiModelProperty("模板类型")
    private String autoTempletfile;
    @ApiModelProperty("包路径")
    private String autoPackPath;
    @ApiModelProperty("子模块名称")
    private String systype;
    @ApiModelProperty("功能描述")
    private String functionDescribe;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("模块名称")
    private String moudleName;
    @ApiModelProperty("功能名称")
    private String functionName;
    @ApiModelProperty("编辑页弹出模型")
    private String formtype;

    public SysAutocodeMain() {
    }

    public String getId() {
        return this.id;
    }

    public String getAutoTableName() {
        return this.autoTableName;
    }

    public String getAutoClassName() {
        return this.autoClassName;
    }

    public String getParentTableName() {
        return this.parentTableName;
    }

    public String getParentTableRelationkey() {
        return this.parentTableRelationkey;
    }

    public String getAutoTempletfile() {
        return this.autoTempletfile;
    }

    public String getAutoPackPath() {
        return this.autoPackPath;
    }

    public String getSystype() {
        return this.systype;
    }

    public String getFunctionDescribe() {
        return this.functionDescribe;
    }

    public String getAuthor() {
        return this.author;
    }

    public String getMoudleName() {
        return this.moudleName;
    }

    public String getFunctionName() {
        return this.functionName;
    }

    public String getFormtype() {
        return this.formtype;
    }

    public SysAutocodeMain setId(final String id) {
        this.id = id;
        return this;
    }

    public SysAutocodeMain setAutoTableName(final String autoTableName) {
        this.autoTableName = autoTableName;
        return this;
    }

    public SysAutocodeMain setAutoClassName(final String autoClassName) {
        this.autoClassName = autoClassName;
        return this;
    }

    public SysAutocodeMain setParentTableName(final String parentTableName) {
        this.parentTableName = parentTableName;
        return this;
    }

    public SysAutocodeMain setParentTableRelationkey(final String parentTableRelationkey) {
        this.parentTableRelationkey = parentTableRelationkey;
        return this;
    }

    public SysAutocodeMain setAutoTempletfile(final String autoTempletfile) {
        this.autoTempletfile = autoTempletfile;
        return this;
    }

    public SysAutocodeMain setAutoPackPath(final String autoPackPath) {
        this.autoPackPath = autoPackPath;
        return this;
    }

    public SysAutocodeMain setSystype(final String systype) {
        this.systype = systype;
        return this;
    }

    public SysAutocodeMain setFunctionDescribe(final String functionDescribe) {
        this.functionDescribe = functionDescribe;
        return this;
    }

    public SysAutocodeMain setAuthor(final String author) {
        this.author = author;
        return this;
    }

    public SysAutocodeMain setMoudleName(final String moudleName) {
        this.moudleName = moudleName;
        return this;
    }

    public SysAutocodeMain setFunctionName(final String functionName) {
        this.functionName = functionName;
        return this;
    }

    public SysAutocodeMain setFormtype(final String formtype) {
        this.formtype = formtype;
        return this;
    }

    public String toString() {
        return "SysAutocodeMain(id=" + this.getId() + ", autoTableName=" + this.getAutoTableName() + ", autoClassName=" + this.getAutoClassName() + ", parentTableName=" + this.getParentTableName() + ", parentTableRelationkey=" + this.getParentTableRelationkey() + ", autoTempletfile=" + this.getAutoTempletfile() + ", autoPackPath=" + this.getAutoPackPath() + ", systype=" + this.getSystype() + ", functionDescribe=" + this.getFunctionDescribe() + ", author=" + this.getAuthor() + ", moudleName=" + this.getMoudleName() + ", functionName=" + this.getFunctionName() + ", formtype=" + this.getFormtype() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SysAutocodeMain)) {
            return false;
        } else {
            SysAutocodeMain other = (SysAutocodeMain) o;
            if (!other.canEqual(this)) {
                return false;
            } else if (!super.equals(o)) {
                return false;
            } else {
                label169:
                {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label169;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label169;
                    }

                    return false;
                }

                Object this$autoTableName = this.getAutoTableName();
                Object other$autoTableName = other.getAutoTableName();
                if (this$autoTableName == null) {
                    if (other$autoTableName != null) {
                        return false;
                    }
                } else if (!this$autoTableName.equals(other$autoTableName)) {
                    return false;
                }

                label155:
                {
                    Object this$autoClassName = this.getAutoClassName();
                    Object other$autoClassName = other.getAutoClassName();
                    if (this$autoClassName == null) {
                        if (other$autoClassName == null) {
                            break label155;
                        }
                    } else if (this$autoClassName.equals(other$autoClassName)) {
                        break label155;
                    }

                    return false;
                }

                Object this$parentTableName = this.getParentTableName();
                Object other$parentTableName = other.getParentTableName();
                if (this$parentTableName == null) {
                    if (other$parentTableName != null) {
                        return false;
                    }
                } else if (!this$parentTableName.equals(other$parentTableName)) {
                    return false;
                }

                Object this$parentTableRelationkey = this.getParentTableRelationkey();
                Object other$parentTableRelationkey = other.getParentTableRelationkey();
                if (this$parentTableRelationkey == null) {
                    if (other$parentTableRelationkey != null) {
                        return false;
                    }
                } else if (!this$parentTableRelationkey.equals(other$parentTableRelationkey)) {
                    return false;
                }

                label134:
                {
                    Object this$autoTempletfile = this.getAutoTempletfile();
                    Object other$autoTempletfile = other.getAutoTempletfile();
                    if (this$autoTempletfile == null) {
                        if (other$autoTempletfile == null) {
                            break label134;
                        }
                    } else if (this$autoTempletfile.equals(other$autoTempletfile)) {
                        break label134;
                    }

                    return false;
                }

                label127:
                {
                    Object this$autoPackPath = this.getAutoPackPath();
                    Object other$autoPackPath = other.getAutoPackPath();
                    if (this$autoPackPath == null) {
                        if (other$autoPackPath == null) {
                            break label127;
                        }
                    } else if (this$autoPackPath.equals(other$autoPackPath)) {
                        break label127;
                    }

                    return false;
                }

                Object this$systype = this.getSystype();
                Object other$systype = other.getSystype();
                if (this$systype == null) {
                    if (other$systype != null) {
                        return false;
                    }
                } else if (!this$systype.equals(other$systype)) {
                    return false;
                }

                Object this$functionDescribe = this.getFunctionDescribe();
                Object other$functionDescribe = other.getFunctionDescribe();
                if (this$functionDescribe == null) {
                    if (other$functionDescribe != null) {
                        return false;
                    }
                } else if (!this$functionDescribe.equals(other$functionDescribe)) {
                    return false;
                }

                label106:
                {
                    Object this$author = this.getAuthor();
                    Object other$author = other.getAuthor();
                    if (this$author == null) {
                        if (other$author == null) {
                            break label106;
                        }
                    } else if (this$author.equals(other$author)) {
                        break label106;
                    }

                    return false;
                }

                label99:
                {
                    Object this$moudleName = this.getMoudleName();
                    Object other$moudleName = other.getMoudleName();
                    if (this$moudleName == null) {
                        if (other$moudleName == null) {
                            break label99;
                        }
                    } else if (this$moudleName.equals(other$moudleName)) {
                        break label99;
                    }

                    return false;
                }

                Object this$functionName = this.getFunctionName();
                Object other$functionName = other.getFunctionName();
                if (this$functionName == null) {
                    if (other$functionName != null) {
                        return false;
                    }
                } else if (!this$functionName.equals(other$functionName)) {
                    return false;
                }

                Object this$formtype = this.getFormtype();
                Object other$formtype = other.getFormtype();
                if (this$formtype == null) {
                    if (other$formtype != null) {
                        return false;
                    }
                } else if (!this$formtype.equals(other$formtype)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof SysAutocodeMain;
    }


}
